package com.watson.s2sh.service;

import com.watson.s2sh.dao.BookDao;
import com.watson.s2sh.domain.Book;

public class BookService {
	private BookDao bookDao;
	
	public void saveBook(Book book) {
		System.out.print("BookService:saveBook");
		System.out.print(book.getName());
		bookDao.save(book);
	}

	public BookDao getBookDao() {
		return bookDao;
	}

	public void setBookDao(BookDao bookDao) {
		this.bookDao = bookDao;
	}
}
